package com.jiangnan.warehouse_management.dto.request;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Positive;
import jakarta.validation.constraints.PositiveOrZero;
import lombok.Data;

@Data
public class ItemUpdateRequest {
    @NotBlank(message = "物品名称不能为空")
    private String itemName;

    @NotBlank(message = "规格不能为空")
    private String specification;

    @PositiveOrZero(message = "最小库存不能小于0")
    private Integer minimumStock;
} 